﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>@ViewBag.Title </title>
    <link href="~/Content/Site.css" rel="stylesheet" type="text/css" />
    <link href="~/Content/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <script src="~/Scripts/modernizr-2.6.2.js"></script>
    <style type="text/css">
        div.layout {
            background-color: lightgray;
        }

        div.view {
            border: thin solid black;
            margin: 10px 0;
        }
    </style>
</head>
<body>
    @RenderSection("Header",false)
    <div class="layout">
        next to the header
    </div>
    <div class="container body-content">
        @RenderBody()
    </div>
    <div class="layout">
        next to the body
    </div>
    @RenderSection("Footer",false)
<div class="layout">
    next to the Footer
</div>
    @if (IsSectionDefined("zhang"))
    {
        <p>the zhang is defined</p>
    }
    else
    {
        <p>the zhang is noDefined</p>
    }
    <script src="~/Scripts/jquery-1.10.2.min.js"></script>
    <script src="~/Scripts/bootstrap.min.js"></script>
</body>
</html>